bitkeeper revision 1.1159.1.311 (41837ba99JEAnriHhRYNK8iMktj80A)
authorkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Sat, 30 Oct 2004 11:31:53 +0000 (11:31 +0000)
committerkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Sat, 30 Oct 2004 11:31:53 +0000 (11:31 +0000)
Properly initialise the timer_tsc module.

linux-2.6.9-xen-sparse/arch/xen/i386/kernel/time.c

index 5ed85495ccad0a63cc8c53bf1792364acd0f7ae9..9a11137f075cedddc0bd02e16fc3d4ca9060346a 100644 (file)
@@ -627,6 +627,8 @@ void __init time_init(void)
        wall_to_monotonic.tv_nsec = -xtime.tv_nsec;
        processed_system_time = shadow_system_time;
 
+       if (cur_timer->init(NULL) != 0)
+               BUG();
        printk(KERN_INFO "Using %s for high-res timesource\n",cur_timer->name);
 
        time_irq = bind_virq_to_irq(VIRQ_TIMER);